package com.hly.musicbackground.model.movies.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hly.musicbackground.domain.Movies;
import com.hly.musicbackground.model.movies.VO.MoviesDetailVO;
import com.hly.musicbackground.model.movies.VO.MoviesListVO;
import org.jsoup.nodes.Document;

import java.util.List;

public interface MoviesService extends IService<Movies> {

    /**
     * 在网络中搜索影视
     * @param key 内容的document对象
     * @return FictionListVO 返回影视集合
     * */
    MoviesListVO searchListDom(String key);

    /**
     * 获取影视详情
     * @param id 影视id
     * @return MoviesDetailVO 详情
     * */
    MoviesDetailVO getDetail(int id, int uid);

    List<Movies> getMoviesLinkList(int limit, int page, int type, int uid);
}
